/**
 * 
 */
package com.highveldsky.leaverequest.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.highveldsky.leaverequest.shared.model.LeaveRequest;

/**
 * @author david
 *
 */
public interface LeaveRequestServiceAsync {

	public void submitLR(LeaveRequest lr, AsyncCallback<Boolean> callback) throws Exception;
	public void approveLR(long id, AsyncCallback<Boolean> callback) throws Exception;
	public void listApproversLRs(String approver, AsyncCallback<List<LeaveRequest>> callback) throws Exception;
	public void listEmployeesLRs(String approver, AsyncCallback<List<LeaveRequest>> callback) throws Exception;

}
